package com.javaee.interceptor.entity;
//购物车类
public class Shopping_Cart {
    Integer shopping_cart_id;//该表的id
    Integer goods_id;//商品的id
    Integer id;//购物车所有者的id
    Integer nums;//购买商品的数目
    Float allprice;//购买商品的总价格

    public Shopping_Cart(Integer shopping_cart_id, Integer goods_id, Integer id, Integer nums, Float allprice) {
        this.shopping_cart_id = shopping_cart_id;
        this.goods_id = goods_id;
        this.id = id;
        this.nums = nums;
        this.allprice = allprice;
    }
    public Shopping_Cart() {
    }

    public Integer getShopping_cart_id() {
        return shopping_cart_id;
    }

    public void setShopping_cart_id(Integer shopping_cart_id) {
        this.shopping_cart_id = shopping_cart_id;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public Float getAllprice() {
        return allprice;
    }

    public void setAllprice(Float allprice) {
        this.allprice = allprice;
    }
}
